home *** CD-ROM | disk | FTP | other *** search
- /*************************************************************************************
-
- File: ISpSampleADBRes.h
-
- Copyright © 1996, 1997, 1998 Apple Computer, Inc., All Rights Reserved
-
-
- You may incorporate this sample code into your applications without
- restriction, though the sample code has been provided "AS IS" and the
- responsibility for its operation is 100% yours. However, what you are
- not permitted to do is to redistribute the source as "DSC Sample Code"
- after having made changes. If you're going to re-distribute the source,
- we require that you make it clear in the source that the code was
- descended from Apple Sample Code, but that you've made changes.
-
- *************************************************************************************/
-
- #ifndef __INSPSAMPLEADBRES__
- #define __INSPSAMPLEADBRES__
-
- enum
- {
- kDITLID_Config = 128
- };
-
- // dialog items
- enum
- {
- kDialogItem_StickUp = 1,
- kDialogItem_StickLeft,
- kDialogItem_StickDown,
- kDialogItem_StickRight,
-
- kDialogItem_ThrottleLower,
- kDialogItem_ThrottleHigher,
- kDialogItem_RudderLeft,
- kDialogItem_RudderRight,
-
- kDialogItem_Trigger,
- kDialogItem_TopButton,
- kDialogItem_StickHighButton,
- kDialogItem_StickLowButton,
- kDialogItem_BaseFarLeft,
- kDialogItem_BaseFarRight,
- kDialogItem_BaseNearLeft,
- kDialogItem_BaseNearRight,
-
- kDialogItem_DPadUp,
- kDialogItem_DPadLeft,
- kDialogItem_DPadDown,
- kDialogItem_DPadRight,
-
- kDialogItem_Checkbox_Reverse_StickVertical = 21,
- kDialogItem_Checkbox_Reverse_HatVertical = 22,
- kDialogItem_Checkbox_Reverse_Throttle = 23,
- kDialogItem_Checkbox_Reverse_Rudder = 24,
-
- kDialogItem_GroupBox_Stick = 25,
- kDialogItem_GroupBox_POVHat,
- kDialogItem_GroupBox_Throttle,
- kDialogItem_GroupBox_Rudder,
- kDialogItem_GroupBox_StickButtons,
- kDialogItem_GroupBox_BaseButtons,
-
- kDialogItem_FirstPopup = kDialogItem_StickUp,
- kDialogItem_NumPopups = kDialogItem_DPadRight
- };
-
- // 'isdv'
- enum
- {
- kDeviceResource_SidewinderPro = 128
- };
-
- // 'isel'
- enum
- {
- kElementResource_XAxis = 128,
- kElementResource_YAxis = 129,
- kElementResource_Throttle = 130,
- kElementResource_Rudder = 131,
- kElementResource_Hat = 132,
-
- kElementResource_Trigger,
- kElementResource_TopButton,
- kElementResource_StickHighButton,
- kElementResource_StickLowButton,
- kElementResource_BaseFarLeft,
- kElementResource_BaseFarRight,
- kElementResource_BaseNearLeft,
- kElementResource_BaseNearRight,
-
- kElementResource_FirstItem = kElementResource_XAxis,
- kElementResource_LastItem = kElementResource_BaseNearRight
- };
-
- // STR#
- enum
- {
- kStrList_Main = 121,
- kStrList_Main_Stick = 1,
- kStrList_Main_POVHat,
- kStrList_Main_Throttle,
- kStrList_Main_Rudder,
- kStrList_Main_StickButtons,
- kStrList_Main_BaseButtons
- };
-
- #endif